#region Summary

// 
// Owner : JackieHan 
// 
// Solution : DailyCollection 
// 
// Project : Jackie.Utility.Compiler
// 
// File : Token.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 代码支持的标记
// 
// History : 
//			2011-05-27 16:10:32	    Create 
// 

#endregion

#region Using

using System;

#endregion

namespace Jackie.Utility.Compiler.Scanner
{
    /// <summary> 
    /// 代码支持的标记
    /// </summary>
    public class Token
    {
        public Token(TokenType type)
        {
            Type = type;
        }

        public Token(TokenType type, string value)
        {
            Type = type;
            Value = value;
        }

        public TokenType Type { get; set; }

        public string Value { get; set; }
    }
}